package com.itheima.service.mongo;

import com.itheima.domain.mongo.Comment;
import com.itheima.vo.PageBeanVo;

public interface CommentService {

    // 保存操作
    Integer saveComment(Comment comment);

    // 删除操作
    Integer removeComment(String publishId, Long userId, Integer commentType);

    // 查询评论分页数据
    PageBeanVo findCommentByPage(String publishId, Integer commentType, Integer pageNum, Integer pageSize);


    // 查询点赞、评论、喜欢的操作人信息
    PageBeanVo findCommentUserByPage(Long userId,Integer commentType, Integer pageNum, Integer pageSize);
}
